Skip to content

Fix StackOverflowError for LLA with non-Number arguments#112

Open
asinghvi17 wants to merge 1 commit intomainfrom
as/fix111
Open

Fix StackOverflowError for LLA with non-Number arguments#112
asinghvi17 wants to merge 1 commit intomainfrom
as/fix111

Conversation

@asinghvi17
Copy link
Copy Markdown
Member

Summary

Test plan

  • All 30,274 existing tests pass
  • New test verifies LLA(missing, missing) throws MethodError instead of StackOverflowError

🤖 Generated with Claude Code

Add type constraints to the LLA outer constructor to match the existing
LatLon pattern, preventing infinite recursion when called with
non-Number types like `missing`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LLA(missing, missing) gives stack overflow

1 participant